package com.xydtech.ecard.custgroup.service;

import com.xydtech.ecard.custgroup.domain.EcardApiCustomerOrganizeVisit;

import java.util.List;

/**
 * 电子名片社团组织拜访记录Service接口
 *
 * @author yuzhiguo
 * @date 2024-11-29 上午11:22
 */
public interface IEcardApiCustomerOrganizeVisitService {

    /**
     * 查询电子名片社团组织拜访记录列表
     * @param ecardCustomerOrganizeVisit
     * @return
     */
    List<EcardApiCustomerOrganizeVisit> getOrganizeVisitList(EcardApiCustomerOrganizeVisit ecardCustomerOrganizeVisit);

    /**
     * 查询电子名片社团组织拜访记录
     * @param id
     * @return
     */
    EcardApiCustomerOrganizeVisit selectEcardCustomerOrganizeVisitById(Long id);

    /**
     * 根据社团组织ID查询最近一次拜访时间
     * @param organizeId
     * @return
     */
    String getOrganizeLastVisitTime(Long organizeId);

    /**
     * 保存社团组织拜访信息
     * @param ecardCustomerOrganizeVisit
     * @return
     */
    int insertEcardCustomerOrganizeVisit(EcardApiCustomerOrganizeVisit ecardCustomerOrganizeVisit);

    /**
     * 查询所有的拜访记录
     * @param ecardApiCustomerOrganizeVisit
     * @return
     */
    List<EcardApiCustomerOrganizeVisit> getAllVisitList(EcardApiCustomerOrganizeVisit ecardApiCustomerOrganizeVisit);
}
